package com.woniuxy.carlife.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author fx
 * @ClassName:UserOwnAppraise
 * @Description: 用户的服务评价还附带一些用户信息和服务类别信息dto
 * @date 2021/4/9 11:17
 **/
@Data
@ApiModel(value = "用户评价信息的dto类")
public class AllAppraiseWithId {

    //用户id
    @ApiModelProperty(value = "用户id",dataType = "Integer")
    private Integer userId;

    //用户头像
    @ApiModelProperty(value = "用户头像",dataType = "String")
    private String userPic;

    //评论id
    @ApiModelProperty(value = "评论id",dataType = "Integer")
    private Integer serviceAppraiseId;

    //订单id
    @ApiModelProperty(value = "订单id",dataType = "Integer")
    private Integer orderId;

    //评分
    @ApiModelProperty(value = "用户对服务的评分",dataType = "Double")
    private Double serviceScore;

    //类别名称
    @ApiModelProperty(value = "服务类别名称",dataType = "String")
    private String serviceCategoryName;

    //评论详情
    @ApiModelProperty(value = "评论详情",dataType = "String")
    private String serviceAppraiseInfo;

    //评论图片
    @ApiModelProperty(value = "评论图片",dataType = "String")
    private String serviceAppraisePic;

    //评论选择标签对象(String)
    @ApiModelProperty(value = "评论选择标签对象(String)，内部转换用",dataType = "String")
    private String commentTag;

    //评论选择标签对象(集合)
    private List<AppraiseTagDto> appraiseTag;

    //评论时间
    @ApiModelProperty(value = "评论时间",dataType = "Date")
    private Date appraiseCreateTime;
}
